<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'padnumber.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <table border="1px solid red" align="center" width="50%">
    	<tr>
    		<td width="10%">pad序列号</td>
    		<td width="10%">小区</td>
    		<td width="10%">楼栋</td>
    		<td width="10%">最近一次拉取数据时间</td>
    	</tr>
    	<c:forEach var="v" items="${list}">
    		<tr>
    			<td>${v.padnumber}</td>
    			<td>${v.address}</td>
    			<td>${v.number}</td>
    			<td>${v.thistime}</td>
    		</tr>
    	</c:forEach>
    </table>
  </body>
</html>
